package com.ssy.lingxi.member.merchant.api.model.vo.inner.request;

import java.time.LocalDateTime;

/**
 * 远程调用 - 订单明细 - 根据条件查找所有业务员
 * @author 郑小翠
 * @version 2.02.18
 * @date 2022-03-17
 */
public class MemberSalesFindMemberVO {

    /**
     * 登录的会员Id
     */
    private Long memberId;

    /**
     * 登录的角色Id
     */
    private Long memberRoleId;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 下级会员Id
     */
    private Long subMemberId;

    /**
     * 下级会员角色Id
     */
    private Long subMemberRoleId;

    /**
     * 统计开始时间
     */
    private LocalDateTime startTime;

    /**
     * 下级会员名称
     */
    private String subMemberName;

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public Long getMemberRoleId() {
        return memberRoleId;
    }

    public void setMemberRoleId(Long memberRoleId) {
        this.memberRoleId = memberRoleId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getSubMemberId() {
        return subMemberId;
    }

    public void setSubMemberId(Long subMemberId) {
        this.subMemberId = subMemberId;
    }

    public Long getSubMemberRoleId() {
        return subMemberRoleId;
    }

    public void setSubMemberRoleId(Long subMemberRoleId) {
        this.subMemberRoleId = subMemberRoleId;
    }

    public LocalDateTime getStartTime() {
        return startTime;
    }

    public void setStartTime(LocalDateTime startTime) {
        this.startTime = startTime;
    }

    public String getSubMemberName() {
        return subMemberName;
    }

    public void setSubMemberName(String subMemberName) {
        this.subMemberName = subMemberName;
    }

    @Override
    public String toString() {
        return "MemberSalesFindMemberVO{" +
                "memberId=" + memberId +
                ", memberRoleId=" + memberRoleId +
                ", userId=" + userId +
                ", subMemberId=" + subMemberId +
                ", subMemberRoleId=" + subMemberRoleId +
                ", startTime=" + startTime +
                ", subMemberName='" + subMemberName + '\'' +
                '}';
    }

    public MemberSalesFindMemberVO() {
    }

    public MemberSalesFindMemberVO(Long memberId, Long memberRoleId, Long userId, Long subMemberId, Long subMemberRoleId, LocalDateTime startTime, String subMemberName) {
        this.memberId = memberId;
        this.memberRoleId = memberRoleId;
        this.userId = userId;
        this.subMemberId = subMemberId;
        this.subMemberRoleId = subMemberRoleId;
        this.startTime = startTime;
        this.subMemberName = subMemberName;
    }
}
